package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 7/11/13
 * Time: 5:24 PM
 * To change this template use File | Settings | File Templates.
 */
public class MovieCommand implements Command {
    private Library library;
    public MovieCommand(Library library) {
        this.library = library;

    }

    @Override
    public void select() {
        System.out.println("\n");
        System.out.println("Movie\tYear\tDirector\tRating");
        library.printList(library.getMovieList());
    }
}
